package com.gxa.ssm251.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data  //get set tostring
@AllArgsConstructor  //全参构造
@NoArgsConstructor   //无参构造
@ApiModel(value = "城市对象")
public class City implements Serializable {
    @ApiModelProperty(name = "id",value = "城市编号编号")
    private Integer id;
    @ApiModelProperty(name = "name",value = "城市名称")
    private String name;


}
